/*
 * @Author       : 魏威 <1209562577@qq.com>
 * @Date         : 2022-03-31 16:34 周4
 * @Description  :
 */
import React from "react";
import { Navigate, Route, Routes } from "react-router";
import { Link } from "react-router-dom";
import EpicScreen from "screens/epic";
import KanbanScreen from "screens/kanban";

export default function ProjectScreen() {
  return (
    <div>
      <h1>ProjectScreen</h1>
      <Link to={"kanban"}>看板</Link>
      <Link to={"epic"}>任务组</Link>
      <Routes>
        <Route index element={<Navigate to={"kanban"} />} />
        <Route path={"kanban"} element={<KanbanScreen />} />
        <Route path={"epic"} element={<EpicScreen />} />
      </Routes>
    </div>
  );
}
